-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement initial PoC for checking return values #846
Conversation
…sts of the translation
…ransformationResult
…ype for cpgGetNodes for Ops
.../main/kotlin/de/fraunhofer/aisec/codyze/backends/cpg/coko/evaluators/CpgWheneverEvaluator.kt
Fixed
Show fixed
Hide fixed
.../main/kotlin/de/fraunhofer/aisec/codyze/backends/cpg/coko/evaluators/CpgWheneverEvaluator.kt
Fixed
Show fixed
Hide fixed
.../main/kotlin/de/fraunhofer/aisec/codyze/backends/cpg/coko/evaluators/CpgWheneverEvaluator.kt
Fixed
Show fixed
Hide fixed
.../kotlin/de/fraunhofer/aisec/codyze/specificationLanguages/coko/dsl/host/ConceptTranslator.kt
Fixed
Show fixed
Hide fixed
.../kotlin/de/fraunhofer/aisec/codyze/specificationLanguages/coko/dsl/host/ConceptTranslator.kt
Fixed
Show fixed
Hide fixed
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #846 +/- ##
============================================
- Coverage 82.39% 75.52% -6.87%
- Complexity 179 223 +44
============================================
Files 49 58 +9
Lines 1363 1802 +439
Branches 184 246 +62
============================================
+ Hits 1123 1361 +238
- Misses 157 329 +172
- Partials 83 112 +29
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
We'll merge it as an experimental feature! |
Co-authored-by: Selina Lin <[email protected]> Co-authored-by: Robert Haimerl <[email protected]>
In some cases API calls generate values from configurations that are not part of the source code (such as configuration files). To ensure that subsequent code adheres to set requirements, it's necessary to code some kind of check.
This PoC evaluates these checks to ensure requirements are met and to reduce false-positives.